@include('Api.common.header')
<div class="layui-row">
    <div class="layui-col-lg12">
        <fieldset class="layui-elem-field">
            <legend>用户管理 - 新增变量</legend>
            <div class="layui-field-box">
                <form class="layui-form" action="{{ URL::action('Api\SysConfigController@save')}}">
                    <div class="layui-form-item">
                        <label class="layui-form-label">变量名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="varname" required lay-verify="required" placeholder="请输入变量名称(唯一)"
                                   autocomplete="off" class="layui-input" value="" lay-verType="tips">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">变量值</label>
                        <div class="layui-input-block">
                            <textarea placeholder="请输入变量值"  name="value" required   class="layui-textarea" ></textarea>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">参数说明</label>
                        <div class="layui-input-block">
                            <input type="text" name="info" required lay-verify="required" placeholder="请输入参数说明"
                                   autocomplete="off" class="layui-input" lay-verType="tips">

                        </div>
                    </div>
                    <input type="hidden" name="type" value="1">
                    <div class="layui-form-item">
                        <label class="layui-form-label"></label>
                        <div class="layui-input-block">
                            <button type="submit" class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>

            </div>
        </fieldset>
    </div>
</div>
<script type="text/javascript" src="/static/layui/layui.js"></script>
<script type="text/javascript" src="/static/backend/javascript/dw_form_submit.js"></script>
